<?php
namespace addons\{__DEMO__}\controller;

use app\admin\controller\Addon;
use think\App;

/**
 * Class {__DEMO__}
 * @package app\admin\controller\Addon
 * @ControllerAnnotation(title="{__DEMO__}")
 */
class {__DEMO__} extends Addon
{
    public function __construct(App $app)
    {
        parent::__construct($app);

        $this->model = new \addons\{__DEMO__}\model\{__DEMO__}();

        $this->assign('getSexList', $this->model->getSexList());

        $this->assign('getCheckboxList', $this->model->getCheckboxList());

        $this->assign('getModeList', $this->model->getModeList());

        $this->assign('getStatusList', $this->model->getStatusList());

    }
    /**
     * 基类文件use app\admin\controller\Addon;
     */

}
